package com.cw.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cw.entity.OrderDetail;
import com.cw.entity.dto.ReportResponseTemplate;
import com.cw.service.OrderDetailService;
import com.cw.mapper.OrderDetailMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author BerNardShaw
* @description 针对表【order_detail(订单明细表)】的数据库操作Service实现
* @createDate 2023-04-01 12:41:19
*/
@Service
public class OrderDetailServiceImpl extends ServiceImpl<OrderDetailMapper, OrderDetail>
    implements OrderDetailService{

    @Override
    public List<ReportResponseTemplate> dishRank() {
        return this.baseMapper.dishRank();
    }

    @Override
    public List<ReportResponseTemplate> setmealRank() {
        return this.baseMapper.setmealRank();
    }

    @Override
    public ReportResponseTemplate dailySaleData() {
        return this.baseMapper.dailySaleData();
    }

    @Override
    public List<ReportResponseTemplate> dailyFood() {
        return this.baseMapper.dailyFood();
    }

    @Override
    public List<ReportResponseTemplate> favoriteWindow() {
        return this.baseMapper.favoriteWindow();
    }
}




